import request from '@/axios'

export function getDrugs(data) {
  return request({
    url: '/warehouse/drugs/'+data,
    method: 'get',
  })      
}

export function add(data){
  return request({
    url: '/warehouse/inOutbound/add',
    method: 'post',
    data
  })
}